package com.xls.minio.feign;

import com.xls.commonutils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "service-room")
public interface RoomImageService {
    @PostMapping(value = "/dormitory/room/uploadRoomImage")
    Result<String> uploadRoomImage(@RequestParam("id") String id, @RequestParam("url") String url);

    @PostMapping(value = "/dormitory/room/removeRoomImage")
    Result<String> removeRoomImage(@RequestParam("id") String id, @RequestParam("url") String url);
}
